#include "student.h"
#include <QtDebug>
student::student(QObject *parent) : QObject(parent)
{

}
void student::treat(){
    //实现
    qDebug()<<"请老师吃饭";
}
void student::treat(QString food_name){
    qDebug()<<"请老师吃"<<food_name.toUtf8().data();
}
